#ifndef GIFCOMMENTEXTENSION_H
#define GIFCOMMENTEXTENSION_H

#include "gifextension.h"

namespace WingGif {

class WINGEXPORT GifCommentExtension : public GifExtension {
  Q_OBJECT
  Q_PROPERTY(QString text READ text)
public:
  QString text();

  bool read(QIODevice *stream,
            QList<GifExtension *> controlExtensions) override;
  GifBlockKind kind() override;

  GifCommentExtension(QObject *parent = nullptr);

private:
  QString _text;
};

} // namespace WingGif

#endif // GIFCOMMENTEXTENSION_H
